.approval-detail{
  .header{
    @include flex;
    @include a-center;
    
    color: #fff;
    font-size: 28rpx;
    padding: 0 32rpx;
    height: 170rpx;
    background: #E21536;

    .flex-wrapper{
      @include flex;
      @include a-center;

      .icon{
        width: 40rpx;
        height: 40rpx;
        display: block;
      }
      .stateText{
        font-size: 32rpx;
        margin-left: 20rpx;
      }
    }
    .sub{
      margin-top: 20rpx;
    }

    &.reject{
      background: #DDDDDD;
    }
  }
  .block{
    padding: 32rpx;
    margin-bottom: 16rpx;
    background: #fff;

    .block-title{
      font-weight: 500;
      margin-bottom: 12rpx;
    }
  }
  .goods-item{
    @include flex;
    .img{
      width: 200rpx;
      height: 200rpx;
    }
    .detail{
      @include sub-item;
      @include flex(column);
      @include j-between;
      margin-left: 20rpx;
      .name{
        @include text-ellipsis-line;
      }
      .stock{
        color: #999;
        font-size: 24rpx;
        margin-top: 8rpx;
      }
      .between-wrapper{
        @include flex;
        @include j-between;

        .price{
          font-size: 32rpx;
          &::before{
            content: '￥';
            font-size: 24rpx;
          }
        }
        .number{
          font-size: 36rpx;
          &::before{
            content: 'X';
            font-size: 24rpx;
          }
        }
      }
    }
  }

  .line{
    @include flex;
    @include a-center;
    padding: 8rpx 0;
    .label{
      @include flex;
      @include a-center;
      color: #999;
      width: 166rpx;

      .icon{
        width: 32rpx;
        height: 32rpx;
        margin-left: 16rpx;
        display: block;
      }
    }
    .value{
      .icon{
        width: 40rpx;
        height: 40rpx;
        margin-left: 32rpx;
        display: block;
      }

      &.phone-value{
        @include flex;
        @include a-center;
        color: #007FFF;
      }
    }
    .btn{
      text-align: center;
      width: 80rpx;
      font-size: 24rpx;
      line-height: 34rpx;
      border: 1px solid #000;
      margin-left: 12rpx;
    }
    .price{
      font-size: 32rpx;
      &.market-price{
        text-decoration: line-through;
      }
      &::before{
        content: '￥';
        font-size: 24rpx;
      }
    }

    &.between{
      @include j-between;
    }
  }

  .footer{
    @include flex;
    @include a-center;
    padding: 0 32rpx;
    height: 128rpx;

    .btn{
      @include sub-item;
      @include flex(column, inline-flex);
      @include center;

      color: #000;
      font-size: 28rpx;
      text-align: center;
      height: 70rpx;
      border: 1rpx solid #000;
      vertical-align: bottom;

      .sub{
        font-size: 16rpx;
      }

      &.main{
        // width: auto;
        // padding: 0 28rpx;
        color: #fff;
        background: #000;
        margin-left: 32rpx;
      }
    }
  }

  .cancel-btn{
    font-size: 28rpx;
    width: 340rpx;
    text-align: center;
    line-height: 76rpx;
    border: 2rpx solid #000;
    margin: 60rpx auto;
  }

  .reject-block{
    font-size: 28rpx;

    .title{
      color: #000;
      font-weight: 400;
      text-align: left;
    }
    .content{
      .type-item{
        @include flex;
        @include a-center;
        margin-top: 32rpx;

        image{
          width: 32rpx;
          height: 32rpx;
          display: block;
          margin-right: 8rpx;
        }
      }
      .input-item{
        @include flex;
        @include a-center;
        margin-top: 32rpx;
        padding: 16rpx 24rpx;
        background: #F5F5F5;
        input{
          @include sub-item;
          font-size: 28rpx;
          text-align: left;
        }
        .number{
          color: #999;
          text-align: center;
        }
      }
    }
  }
  .pass-warn-block{
    color: #000;
    font-size: 28rpx;
    text-align: left;

    .warn{
      margin-top: 32rpx;
      line-height: 48rpx;
      text{
        color: #f00;
      }
    }
    .bg{
      color: #fff;
      padding: 12rpx 32rpx;
      margin-top: 24rpx;
      background: #f00;
    }
  }

  &.hasFooter{
    box-sizing: border-box;
    /* #ifdef H5 */
    padding-bottom: 128rpx;
    padding-bottom: calc(128rpx + constant(safe-area-inset-bottom));
    padding-bottom: calc(128rpx + env(safe-area-inset-bottom));
    /* #endif */

    /* #ifdef MP-WEIXIN */
    padding-bottom: 40rpx;
    padding-bottom: calc(40rpx + constant(safe-area-inset-bottom));
    padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
    /* #endif */
  }
}